#include "hobject.h"
#include "hfunction.h"
HObject::HObject()
{

}

HObject HObject::operator >>=(HFunction &f)
{
    return f.run(this);
}



void HObject::operator+(const HObject& b)
{
    this->value1 += b.value1;
}

HObject HObject::operator>>(FunType &f)
{
    value1 = f(value1);
    return *this;
}
